home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
misc_pto
/
ctshl114
/
ctshell.cfg
next >
Wrap
Text File
|
1990-10-13
|
7KB
|
148 lines
C T S H E L L . C F G
---------------------
Configuration options for the CTSHELL program from Computer Training.
Each of the main sections of this file must be identified according
to its purpose. These sections describe colors, point-'n'-shoot
program names, and tasks that CTSHELL can accomplish. Notes for each
section provide more details about how those configurations are
entered. Note that case is not significant for paths or keywords,
but case will be preserved for all menu entries.
C O L O R C H O I C E S
-------------------------
The first nine entries describe the colors to be used by CTSHELL in
various locations as it runs. These are standard attributes, expressed
as hexadecimal digits, with the background color first. Thus, 70 is
an attribute that means black letters on a white background.
By keeping these values in this particular order, we are able to
greatly simplify the process of configuring CTSHELL and keep its size
to a minimum. Be sure not to remove any lines here, just change the
values.
[colors]
┌ Color attribute in conventional format
Menu Bar {70}
Menu Text {70}
Menu Border {70}
Display Text {17}
Prompts {7F}
Answers {8F}
CursorBar {07}
Dialog Box Text {30}
Dialog Box Border {3F}
P O I N T - N - S H O O T P R O G R A M P A T H S
-----------------------------------------------------
The following entries are executable paths for the various programs
that CTSHELL can run for you. Each entry consists of a name to be
used in CTSHELL's pull-down menu, a path to execute the program, an
an optional field of switches to be used with the command, followed
by three Y/N fields at the end that answer these questions:
- wait for a keypress before returning to CTSHELL?
- can this be used with a group of tagged files?
- if so, can it be passed one argument that contains
all the file names? (If not, the program will be
repeated for every tagged name.)
Following those Y/N answers, there may be up to 6 extensions that
will invoke this program when <Enter> is pressed with the cursor bar
on a file in the list. Thus, certain extensions may be associated
with a particular program.
With some programs, you may need CTSHELL to prompt you for an
additional argument instead of using option switches. For example,
if you use an archiving program (such as PKZip) you'll want to tell
it what name to use for the archive you create. You can use a field
that starts with the word "ASK:", followed by the prompt you want to
see in a dialog box.
When CTSHELL sees the word "ASK:" in the options field, it will
prompt you for the real option.
┌────────────────────────────────────────────┐
│ There may be up to 16 entries here, after │
│ which any additional ones will be ignored. │
└────────────────────────────────────────────┘
These are combined by CTSHELL with the name of the current
(or tagged) file(s) to form a complete command, like this:
command_path option_switches file_name(s)
┌────────────────────────────────────────────┐
│ Note that there are complete entries here │
│ as an example. You will need to change │
│ the program names to ones that are avail- │
│ able on your computer before you will be │
│ able to use them from CTSHELL. Delete any │
│ extra lines when you're finished. │
└────────────────────────────────────────────┘
[shoot]
┌ Menu name
│ ┌ Command path
│ │ ┌ Option switches
│ │ │ (or argument) ┌ Wait before returning?
│ │ │ │ ┌ Multiple files?
│ │ │ │ │ ┌ Combined args?
│ │ │ │ │ │ ┌ Extensions
{C Compiler} {qcl.exe} {/c} {Y}{Y}{Y}
{CodeView} {cv.exe} {/50} {N}{N}{}
{Delete Dir} {deldir.com} {} {N}{N}{}
{Editor} {q.exe} {} {N}{Y}{Y} {.C}{.H}{.CPP}{.CFG}{.BBS}{}
{Lister} {list.com} {} {N}{Y}{Y} {.DOC}
{Make utility} {nmake.exe} {/f} {Y}{N}{} {.MAK}
{UnZIPper} {pkunzip.exe} {ASK:Destination} {Y}{N}{} {.ZIP}
{ZIPper} {pkzip.exe} {ASK:Zipfile Name} {Y}{Y}{Y}
{ZIP Viewer} {fv.com} {} {Y}{Y}{Y}
T A S K S
---------
The following are menu entries and paths. Each section contains a menu
entry string, a directory change path, a program path, and an optional
field of switch options. If you need CTSHELL to prompt you for an
option before running the program, use an {ASK: ... } field as described
above.
Each name entry is up to 40 characters, paths are up to 66. Though
this was intended to be useful in a classroom situation, these can be
thought of generic path changes for ordinary use.
If you want to change to another directory, but not run a program
when you get there, use an empty set of braces for the program path. To
run a program in the current directory, use empty braces in the change
path.
┌────────────────────────────────────────────┐
│ There may be up to 20 entries here, after │
│ which any additional ones will be ignored. │
│ The entries that are here are provided as │
│ examples. You will need to modify them │
│ according to your own needs, and delete │
│ any extra lines. │
└────────────────────────────────────────────┘
[tasks]
┌ Task name for menu
│ ┌ Directory to change to
│ │ ┌ Command
│ │ │ ┌ Switches
{Address Envelopes} {} {envelope.exe} {}
{COMMO Communications} {} {commo} {}
{Programmer's Work Bench} {} {pwb} {}
{QuickC Int Environment} {} {qc} {/h}
{Quick Help} {} {qh.exe} {ASK:QuickHelp Topic?}
{SLMR: ANSWER Mail} {c:\com\mail} {SLMR} {c:\com\mail\progres}
{Tomcat: GET/SEND Mail} {c:\com\mail} {tomcat} {}
{WINDOWS v3.0 Std286} {c:\win} {win} {/s}